﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace DMEditor
{
    public partial class frmLogging : Form
    {
        public frmLogging()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            listLog.Items.Clear();
        }

        public void AddLogItem(string log)
        {
            listLog.Items.Add(log);
            listLog.TopIndex = listLog.Items.Count - 1;
        }

    }
}
